package com.fduss.artStore.dao;

import com.fduss.artStore.entity.TypesStatusCode;

import java.util.List;

/**
 * @Author duocai wu
 * @Date 2017/6/24
 * @Time 20:18
 */
public interface TypesStatusCodeDao {
    /**
     *
     * @param typesStatusCode
     * @return a TypesStatusCode with TypesStatusCode id
     */
    TypesStatusCode add(TypesStatusCode typesStatusCode);

    void delete(int typesStatusCodeId);

    TypesStatusCode getOne(int typesStatusCodeId);

    List<TypesStatusCode> getAll();
}
